<template>
  <el-row>
    <el-col span="24"  v-if="!viewMethod">
      <role-table></role-table>
    </el-col>
    <el-col span="24"  v-else>
      <role-ant-v></role-ant-v>
    </el-col>
  </el-row>
</template>

<script>
import RoleTable from "@/components/roleComponents/roleTable";
import RoleAntV from "@/components/roleComponents/roleAntV";
export default {
  name: "roleView",
  components: {RoleAntV, RoleTable},
  props:{
    viewMethod:Boolean
  }
}
</script>

<style scoped>

</style>